package com.weijianhuawen.wjblog.admin.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-11-05 22:05
 */

@Getter
public class DeleteArticleEvent extends ApplicationEvent {
    private Long articleId;
    private Long bindCategoryId;
    private List<Long> bindTagIdList;
    public DeleteArticleEvent(Object source, Long articleId, Long categoryId, List<Long> tagIds) {
        super(source);
        this.articleId = articleId;
        this.bindCategoryId = categoryId;
        this.bindTagIdList = tagIds;
    }
}
